package com.badger.pattern.factory;

/**
 * 冰淇淋的抽象
 * @author liqi
 *
 */
public abstract class IceCream {
    private String name;

    private String flavor;

    public IceCream(String name, String flavor) {
        super();
        this.name = name;
        this.flavor = flavor;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFlavor() {
        return flavor;
    }

    public void setFlavor(String flavor) {
        this.flavor = flavor;
    }
}